package com.bschlearn.group.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import lombok.Data;
/**
 * 
 * @ClassName: Config 
 * @Description: TODO(获取配置文件资源数据) 
 * @author dcc
 * @date 2019年11月5日 上午10:26:44 
 *
 */
@Configuration
@ConfigurationProperties(prefix="config")
@PropertySource(value ="classpath:resource.properties")
@Data
@Component
public class Config{
	/**
	 * JWT密钥
	 */
	private String JWT_SECRET;
}
